Reference
Besides the several interfaces for almost all of Vampirism's functionality, there are some classes that can be used to access Vampirism's functionality.
VampirismAPI
The VampirismAPI class is the central access point for all kind of registries.
VReference
Central location for all kind of static information/objects. this includes e.g. the faction objects of vampires and hunters, attributes, damage sources, constants ...
Vampirism Forge Registries
Currently, Vampirism's custom forge registries are not accessible through the API. They are declared in ModRegistries.
But you can get them from the RegistryManager with RegistryManager.ACTIVE.getRegistry(...)
. Either use the RegistryEntry class or the resource location of the registry.
Following registries are currently available:
Name | Resourcelocation | Class |
---|---|---|
Skills | vampirism:skills | ISKill |
Actions | vampirism:actions | IAction |
Entity Actions | vampirism:entityactions | IEntityAction |
Minion Tasks | vampirism:miniontasks | IMinionTask |
Tasks | vampirism:tasks | Task |
Refinements | vampirism:refinement | IRefinement |
Refinement Sets | vampirism:refinement_set | IRefinementSet |